package utils

import (
	"os"
	"strings"
)

func SplicePath(paths []string) (res string, err error) {
	workDirPath, err := os.Getwd()
	if err != nil {
		return
	}
	res = strings.Join(append([]string{workDirPath}, paths...), "/")
	return
}
